package com.itheima.pojo;



import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emp {
    private Integer id;
    private String username;
    private String password;
    private String name;
    private Integer gender;
    private String phone;
    private Integer job;
    private double salary;
    private String image;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate entry_date;
    private LocalDateTime create_time;
    private LocalDateTime update_time;
}
